package com.cpit.platform.common.dao;
/**
 * 函数条件构造器
 */
public class Projection{
	//函数作用字段
	private String fieldName;
	//函数类型
	private Criterion.Projection type;

	public Projection(String fieldName, Criterion.Projection type){
		this.fieldName = fieldName;
		this.type = type;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public Criterion.Projection getType() {
		return type;
	}

	public void setType(Criterion.Projection type) {
		this.type = type;
	}
}
